package cn.golxen.blog.commons.rabbitVo;

import cn.golxen.blog.commons.utils.RabbitMQTemplate;
import cn.golxen.blog.entity.Essay;
import lombok.Data;

import java.util.Set;

@Data
public class AddRedisEssayByLabelVo extends RabbitMQTemplate {
    String label;
    Set<Essay> essaySet;

    public AddRedisEssayByLabelVo(String label,Set<Essay> essaySet) {
        super("addRedisEssayByLabel", "EssayKey");
        this.essaySet=essaySet;
        this.label=label;
    }
}
